package br.com.sigde.framework.servico;

import java.util.List;

import br.com.sigde.framework.exception.LogicException;
import br.com.sigde.framework.exception.ServiceException;
import br.com.sigde.modelo.Modelo;


public interface ServiceInterface<DTO extends Modelo> {
	
	DTO incluir(DTO dto) throws ServiceException, LogicException;
	void atualizar(DTO dto)throws ServiceException, LogicException;
	void deletar(DTO dto)throws ServiceException, LogicException;
	DTO recuperar(DTO dto) throws ServiceException, LogicException;
	List<DTO>consultar(DTO dto)throws ServiceException,LogicException;
	List<DTO>listar()throws ServiceException, LogicException;
}
